import { request } from "../../../Promise.js";
//营运车辆分布统计
export const getVehicleDistCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/dist/vehicle/count",
    method: "get",
  });
};
//营运车辆类型统计
export const getVehicleTypeCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/type/vehicle/count",
    method: "get",
  });
};
//营运车辆增长趋势
export const getVehicleTrendCount = (data) => {
  return request({
    url: "/hbapp/busi/get/ygzw/trend/vehicle/count-" + data,
    method: "get",
  });
};
//经营业户分布统计
export const getPracNameDistCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/dist/owner/count",
    method: "get",
  });
};
//经营业户类型统计
export const getPracNameTypeCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/type/owner/count",
    method: "get",
  });
};
//经营业户增长趋势
export const getPracNameTrendCount = (data) => {
  return request({
    url: "/hbapp/busi/get/ygzw/trend/owner/count-" + data,
    method: "get",
  });
};
//从业人员分布统计
export const getOwnerNameDistCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/dist/employee/count",
    method: "get",
  });
};
//从业人员类型统计
export const getOwnerNameTypeCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/type/employee/count",
    method: "get",
  });
};
//从业人员增长趋势
export const getOwnerNameTrendCount = (data) => {
  return request({
    url: "/hbapp/busi/get/ygzw/trend/employee/count-" + data,
    method: "get",
  });
};
//旅游车辆分布统计
export const getTouristVehDistCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/dist/touristveh/count",
    method: "get",
  });
};
//旅游车辆增长趋势
export const getTouristVehTrendCount = (data) => {
  return request({
    url: "/hbapp/busi/get/ygzw/trend/touristVeh/count-" + data,
    method: "get",
  });
};
//旅游企业分布统计
export const getTouristOwnerDistCount = () => {
  return request({
    url: "/hbapp/busi/get/ygzw/dist/touristOwner/count",
    method: "get",
  });
};
//旅游企业增长趋势
export const getTouristOwnerTrendCount = (data) => {
  return request({
    url: "/hbapp/busi/get/ygzw/trend/touristOwner/count-" + data,
    method: "get",
  });
};